import {createApp} from 'vue'
import store from "./store/index";
import {setUi} from "./components";
import {setConf} from "./config";
import {setUtls} from "./utils";
import {RouterView} from "vue-router";
import {setServes} from "@/service";

const app = createApp(RouterView);
// ui注册
setUi(app);
// 路由注册
setConf(app);
// 注册全局方法
setUtls(app);
// 全局注册服务
setServes(app);
// 挂载全局store
// app.config.globalProperties.$store = store;
app.use(store);
app.mount('#app');
